Toggle Switch Tool

Toggle Switch Tool A Toggle Switch Tool object is a toggle for digital commands. The object must be associated with a digital point. The value of this point sets the position of the switch, and when the position is changed the toggled value is sent as the "value" parameter of the command.

Toggle Switch Tool Examples

Toggle Switch Tool Examples

Use the point identifier properties to form a fully qualified CygNet tag string. The point identifier properties are [1:SiteService], [2:Point ID], [3:Long Point ID], [4:Facility ID], and [5:UDC]. If the object is on a templated screen, only use the [5:UDC] property.

Optionally, the switch can be configured to prompt the user to confirm the command before it is sent.

The switch position is up or right if the digital point is “on.”

The appearance of the switch can be changed using the SwitchBevelStyle and SwitchHeight properties.

The orientation of the object can be vertical or horizontal. If you change the orientation, you will also have to adjust the object’s boundary to match.

The MouseControlStyle property specifies if the click event has to occur on the switch or anywhere on the object to toggle the switch. If the object has focus, a user can also use the SPACEBAR to toggle the object, regardless of the MouseControlStyle property.

Unlike other CygNet-aware tools, a Toggle Switch Tool object cannot show the point state. That is, it does not have an [AlarmElement] property.


More: